# CMake package configuration file for @PROJECT_NAME@

@PACKAGE_GUARD@
@PACKAGE_INIT@

set(SOFACOMPONENT_TARGETS @SOFACOMPONENT_TARGETS@)

find_package(Sofa.Config QUIET REQUIRED)
foreach(target ${SOFACOMPONENT_TARGETS})
    sofa_find_package(${target} QUIET REQUIRED)
endforeach()

if(NOT TARGET @PROJECT_NAME@)
    include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
endif()

check_required_components(@PROJECT_NAME@)
